package com.oa.bean;

import java.sql.Timestamp;

/*
 * 用户和部门表
 */
public class UserAndSection {
	private int uid;//用户编号
	private String username;//登录名
	private String upass;//密码
	private String uname;//真实姓名
	private int udepartment_id;//所属部门id
	private int usex;//性别
	private String ujob;//职位
	private String urole;//角色
	private int ustate;//状态
	private Timestamp utime;//插入时间
	private String uhead;//头像
	private Section section;//部门表
	private int seorid;//部门id 
	private String deptname;//部门名称
	private Role role;//角色表
	private String rolename;//角色名称
	private int roleid;//角色id
	private String umgr;//员工上级
	private String boss_name;//上级名称
	
	

	public int getSeorid() {
		return seorid;
	}
	public void setSeorid(int seorid) {
		this.seorid = seorid;
	}
	public String getBoss_name() {
		return boss_name;
	}
	public void setBoss_name(String boss_name) {
		this.boss_name = boss_name;
	}
	public String getUmgr() {
		return umgr;
	}
	public void setUmgr(String umgr) {
		this.umgr = umgr;
	}
	public int getRoleid() {
		return roleid;
	}
	public void setRoleid(int roleid) {
		this.roleid = roleid;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public String getRolename() {
		return rolename;
	}
	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
	public String getDeptname() {
		return deptname;
	}
	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}
	public Section getSection() {
		return section;
	}
	public void setSection(Section section) {
		this.section = section;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUpass() {
		return upass;
	}
	public void setUpass(String upass) {
		this.upass = upass;
	}
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public int getUdepartment_id() {
		return udepartment_id;
	}
	public void setUdepartment_id(int udepartment_id) {
		this.udepartment_id = udepartment_id;
	}
	public int getUsex() {
		return usex;
	}
	public void setUsex(int usex) {
		this.usex = usex;
	}
	public String getUjob() {
		return ujob;
	}
	public void setUjob(String ujob) {
		this.ujob = ujob;
	}
	public String getUrole() {
		return urole;
	}
	public void setUrole(String urole) {
		this.urole = urole;
	}
	public int getUstate() {
		return ustate;
	}
	public void setUstate(int ustate) {
		this.ustate = ustate;
	}
	public Timestamp getUtime() {
		return utime;
	}
	public void setUtime(Timestamp utime) {
		this.utime = utime;
	}
	public String getUhead() {
		return uhead;
	}
	public void setUhead(String uhead) {
		this.uhead = uhead;
	}


	}
